package com.mxx.mxx.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.mxx.mxx.common.core.domain.AjaxResult;
import com.mxx.mxx.dto.AccountDTO;
import com.mxx.mxx.dto.AccountUpdateDTO;
import com.mxx.mxx.po.Account;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dronff
 * @since 2024-04-19
 */
public interface IAccountService extends IService<Account> {

    AjaxResult getToken(String phoneNumber, String password);

    AjaxResult add(AccountDTO account);

    AjaxResult updateUser(Integer userId, AccountUpdateDTO account);
}
